package cn.schoolwow.workflow.domain.task;

import cn.schoolwow.workflow.domain.common.LocalDateTimeDuration;

import java.util.ArrayList;
import java.util.List;

/**工作流任务查询*/
public class WorkFlowTaskQuery {
    /**流程定义id列表*/
    public List<Long> definitionIdList = new ArrayList<>();

    /**流程定义名称列表*/
    public List<String> definitionNameList = new ArrayList<>();

    /**工作流实例id列表*/
    public List<Long> instanceIdList = new ArrayList<>();

    /**工作流实例名称列表*/
    public List<String> instanceNameList = new ArrayList<>();

    /**工作流实例状态*/
    public List<Integer> instanceStatusList = new ArrayList<>();

    /**实例发起人*/
    public List<String> initiatorList = new ArrayList<>();

    /**实例抄送人*/
    public List<String> carbonCopyList = new ArrayList<>();

    /**任务id*/
    public List<Long> taskIdList = new ArrayList<>();

    /**任务节点名称列表*/
    public List<String> nodeNameList = new ArrayList<>();

    /**审批人列表*/
    public List<String> assignerList = new ArrayList<>();

    /**任务是否已完成*/
    public Boolean complete;

    /**上下文数据查询*/
    public List<ContextDataQuery> contextDataQueryList = new ArrayList<>();

    /**发起时间*/
    public LocalDateTimeDuration submitTimeDuration;

    /**完成时间*/
    public LocalDateTimeDuration finishTimeDuration;
}
